<template>
  <div>
    <mix-chart :height="chartHeight"></mix-chart>
  </div>
</template>

<script>
  import MixChart from "../../../components/Charts/MixChart";

  export default {
    name: 'Mix',
    components: {MixChart},
    data() {
      return {
        info: null,
        chartHeight: '600px'
      }
    },
    created() {
      const h = document.documentElement.clientHeight || document.body.clientHeight;
      this.chartHeight = (h - 50) + 'px';
    },
    methods: {
      handleClick(message) {
        this.$message(message);
      },
      showInfo(info) {
        this.$alert(info, '提示', {
          confirmButtonText: '确定',
          callback: action => {
            this.$message({
              type: 'info',
              message: `action: ${action}`
            });
          }
        });
      }
    }
  }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>

</style>
